package com.ciwong.epaper.modules.me.bean;

import com.google.gson.Gson;

import com.ciwong.mobilelib.bean.BaseBean;

import java.util.List;

/**
 * 服务信息
 *
 * @author bin
 * @version ciwong v.1.0 2015/8/5 15:48
 * @since ciwong v.1.0
 */
public class ServiceInfo extends BaseBean
{
//    private static final long serialVersionUID = -199895997235179587L;
    /**
     * 用户ID
     */
    private long userId;

    /**
     * 服务列表
     */
    private List<ServiceDetail> service;

    public long getUserId()
    {
        return userId;
    }

    public void setUserId(long userId)
    {
        this.userId = userId;
    }

    public List<ServiceDetail> getService()
    {
        return service;
    }

    public void setService(List<ServiceDetail> service)
    {
        this.service = service;
    }

    @Override
    public String toString()
    {
        return new Gson().toJson(this);
    }
}
